package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 物料库存对象 slyj_material_inventory
 *
 * @author tanshen
 * @date 2023-08-29
 */

@TableName("slyj_material_inventory")
@Data
public class MaterialInventory {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 入库单号
     */
    @Excel(name = "入库单号")
    private String entryOrderId;

    /**
     * 物料编号
     */
    @Excel(name = "物料编号")
    private String materialId;

    /**
     * 库存数量
     */
    @Excel(name = "库存数量")
    private Integer entryNum;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal unitPrice;

    /**
     * 产地
     */
    @Excel(name = "产地")
    private String producer;

    /**
     * 品牌
     */
    @Excel(name = "品牌")
    private String brand;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remarks;

    /**
     * 税额
     */
    @Excel(name = "税额")
    private BigDecimal taxAmount;

    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date entryTime;

    /**
     * 供应商编号
     */
    @Excel(name = "供应商编号")
    private Long supplierId;


}
